Automattic\WooCommerce\GoogleListingsAndAds\Product\Attributes\AttributeManager S

Total Complexity 28
Dependencies 4
Dependents 6
Total lines 250
Lines of code 100
Logical lines of code 59
Comment lines 84
Methods 12
Properties 1

Methods 12

Method Rating Maintainability Complexity Lines of code
update()
S
60 4 13
get()
S
61 4 12
map_attribute_types()
S
59 3 14
get_all()
S
64 3 10
get_all_values()
S
64 3 10
validate()
S
62 2 11
get_value()
S
74 2 4
get_attribute_types_for_product_types()
S
65 2 9
get_attribute_types_map()
S
72 2 6
delete()
S
73 1 5
exists()
S
80 1 3
get_attribute_types_for_product()
S
80 1 3